package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderSplitCondition;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单拆分规则匹配条件表
 * @author : 
 * @email : 
 * @since : 2020-02-26 10:57:52
 * @version : v1.0.0
 */
@Mapper
public interface  OrderSplitConditionMapper {

    long insert(OrderSplitCondition orderSplitCondition);

    long delete(Long id);

    long update(OrderSplitCondition orderSplitCondition);

    OrderSplitCondition queryByPrimaryKey(Long id);

    List<OrderSplitCondition> query(OrderSplitCondition orderSplitCondition);

    List<OrderSplitCondition> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderSplitCondition") OrderSplitCondition orderSplitCondition);

    long queryPageCount(OrderSplitCondition orderSplitCondition);
}